package com.biyao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2
@ServletComponentScan
@MapperScan(basePackages = {"com.biyao.schedulingdao.**.**.*"})
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)

public class SchedulingRestApplication {
    public static void main(String[] args) {
        SpringApplication.run(SchedulingRestApplication.class, args);
    }

}
